import React,{Component} from 'react'
import {Row,Col,Menu,Spin} from 'antd'
import reqwest from 'reqwest';

import Table from './Table'

class StateMana extends Component{
    constructor(props){
        super(props)
        this.state ={
            menuArr:[],
            leftMenu:[],
            rightTable:[],
            loading:false,
        }
    }
    componentDidMount(){
        
    }
    
    render(){
        const stateArr =[
            {title: '国家名称', dataIndex: 'country_name',width:'20%'},
            {title: '简称', dataIndex: 'country_abbr',width:'10%'},
            {title: '汉语拼音（全拼）', dataIndex: 'py_name',width:'20%'},
            {title: '汉语拼音（首字母）', dataIndex: 'py_initials',width:'20%'},
            {title: '国家代码', dataIndex: 'country_code',width:'20%'},
            
        ]
        return(
            <div>
                <Table stateArr={stateArr} />
            </div>
        )
    }
}

export default StateMana
